package com.xq.spring.model;


public class Student {

    private String sno;
    private String sname;
    private String ssex;
    private Integer sage;
    private String sdept;
    private String sid;
    private String saddress;
    private String stelephonenum;

    public Student(String saddress, Integer sage, String sdept, String sid, String sname, String sno, String ssex, String stelephonenum) {
        this.saddress = saddress;
        this.sage = sage;
        this.sdept = sdept;
        this.sid = sid;
        this.sname = sname;
        this.sno = sno;
        this.ssex = ssex;
        this.stelephonenum = stelephonenum;
    }
    public Student() {
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno == null ? null : sno.trim();
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname == null ? null : sname.trim();
    }

    public String getSsex() {
        return ssex;
    }


    public void setSsex(String ssex) {
        this.ssex = ssex == null ? null : ssex.trim();
    }

    public Integer getSage() {
        return sage;
    }

    public void setSage(Integer sage) {
        this.sage = sage;
    }

    public String getSdept() {
        return sdept;
    }

    public void setSdept(String sdept) {
        this.sdept = sdept == null ? null : sdept.trim();
    }

    public String getSaddress() {
        return saddress;
    }

    public void setSaddress(String saddress) {
        this.saddress = saddress;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getStelephonenum() {
        return stelephonenum;
    }

    public void setStelephonenum(String stelephonenum) {
        this.stelephonenum = stelephonenum;
    }

}